#ifndef _DATA_PROC_H
#define _DATA_PROC_H

void aes128_enc_64bytes(const unsigned char * userKey,const unsigned char * dataIn,unsigned char * dataOut);

void getUserKey(unsigned char * usrKeyOut);

void formatHexStr(char * buff, int sizeRecv,char * buffOut);

void enc_loc_pac(char*buffOut,char * encodedLoc,int sizeIn, unsigned short indexTerm);

int get_cap_freq(double curSeed);

void sendLocationPack(int fd, char * buff, int len);

void sendImagePack(int fd, char * buff, int len);

#endif
